// 行车计费规则
import request from '@/utils/request'

// 获取计费规则列表
export function getPayRuleListAPI(params) {
  return request({
    url: '/parking/rule/list',
    method: 'get',
    params
  })
}

// 添加计费规则
export function addPayRuleAPI(data) {
  return request({
    url: '/parking/rule',
    method: 'post',
    data
  })
}
